﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/tags/app" prefix="app"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> 

<HTML>
	<HEAD>
		<TITLE>添加角色组</TITLE>
		<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
		<META http-equiv=Content-Type content="text/html; charset=UTF-8">
		<META http-equiv=Content-Style-Type content=text/css>
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<script language="javascript"
			src="<app:ContextPath/>/gxjs/style1/pageCommon.js"></script>
		<script language="javascript"
			src="<app:ContextPath/>/gxjs/style1/OaPubptPersonnelSelector.js"></script>
		<script language="javascript"
			src="<app:ContextPath/>/gxjs/style1/general.js"></script>
		<script language="javascript"
			src="<app:ContextPath/>/gxjs/style1/popWin.js"></script>
		<script language="javascript"
			src="<app:ContextPath/>/dwr/interface/GetRoles.js"></script>
		<script language="javascript"
			src="<app:ContextPath/>/dwr/util.js"></script>
		<script language="javascript"
			src="<app:ContextPath/>/dwr/engine.js"></script>
		<LINK href="<app:ContextPath/>/gxcss/style1/mainWin1.css"
			type="text/css" media="screen" rel="stylesheet">
		<LINK href="<app:ContextPath/>/gxcss/style1/mainWin2.css"
			type="text/css" media="screen" rel="stylesheet">
		<script type="text/javascript">
		var target;
		function firstDwr(obj){
			target=obj;
			GetRoles.selectRoleForSelect(callback12);
			
		}
		function callback12(data){
			var json1=eval("("+data+")");
			for (var one in json1) {
				var newoption = document.createElement("OPTION");
				newoption.text = json1[one];   
				newoption.value = one;
				target.add(newoption);
	        }
		}
		</script>
	</HEAD>
	<body marginwidth="0" topmargin="0" leftmargin="0"  marginheight="0">
<form method="post" id="actForm" action="updateSysRoles">
<%--<input id="functionName" type="hidden" name="functionName" value="保存"/>--%>
<input id="functionName" type="hidden" name="functionName" value="SAVE"/>
		<DIV ID=Title_bar>
			<DIV ID=Title_bar_Head>
				<DIV ID=Title_Head>
				</DIV>
				<DIV ID=Title>
					<img border="0" width="13" height="13" src="<app:ContextPath/>/gximages/style1/title_arrow.gif" />
					权限组设置
				</DIV>
				<DIV ID=Title_End>
				</DIV>
				<DIV ID=Title_bar_bg></DIV>
			</DIV>
			<DIV ID=Title_bar_Tail>
				<DIV ID=Title_FuncBar>
					<ul>
						<LI CLASS=line></LI>
						<LI CLASS=title><a name="BTN037970007187356" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.6.0.0"></a>

    <div onclick="submitButton('RETURN');" class="Btn">
        返回
    </div>

</LI>
						<LI CLASS=line></LI>
<%--						<LI CLASS=title><a name="BTN0379700071840R4" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.8.0.0"></a>--%>
						<LI CLASS=title><a name="BTN0379700071840R4" href="javascript:updateRoles();"></a>

<%--    <div onclick="submitButton_x('SAVE');" class="Btn">--%>
	<div onclick="updateRoles();" class="Btn">
        保存
    </div>

</LI>
						
							<LI CLASS=line></LI>
							<LI CLASS=title><a name="BTN03797000718E3H3" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.10.1.0.0"></a>

    <div onclick="submitButton('FUNC');" class="Btn">
        设置功能
    </div>

</LI>
						
							<LI CLASS=line></LI>
							<LI CLASS=title><a name="BTN0379700071870UI" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.11.1.0.0"></a>

    <div onclick="submitButton('USER');" class="Btn">
        设置用户
    </div>

</LI>
						
						<LI CLASS=line></LI>
					</ul>
				</DIV>
			</DIV>
		</DIV>
		<DIV ID=MainArea>
			<div id="PageHead"></div><a name="downloadLnk" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.13.1"></a>
			<CENTER>
				<DIV CLASS=ItemBlock_Title1>
				</DIV>
				<DIV CLASS=ItemBlockBorder>
					<DIV CLASS=ItemBlock>
						<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=70%>
							<TR HEIGHT=25>
								<TD WIDTH=50 ALIGN=RIGHT></TD>
								<TD WIDTH=120>&nbsp;权限组名称</TD>
								<TD><input type="hidden" id="sysRolesId" name="sysRolesId" value="${roleVo.id}"/><input onfocus="this.select();" maxlength="50" class="InputStyle" style="width: 150px;" type="text" name="srname" value="${roleVo.name}"/></TD>
								<TD WIDTH=40></TD>
							</TR>
							<TR HEIGHT=25>
								<TD ALIGN=RIGHT></TD>
								<TD>&nbsp;复制组功能</TD>
								<TD><select class="SelectStyle" name="srpname" id="srpname">
								<option value="WONoSelectionString">    </option>
								</select>
								<script type="text/javascript">
									firstDwr(document.getElementById("srpname"));
								</script>
								</TD>
								<TD WIDTH=40></TD>
							</TR>
							<TR HEIGHT=100 VALIGN=top>
								<TD ALIGN=RIGHT></TD>
								<TD>&nbsp;备注</TD>
								<TD><textarea class="InputAreaStyle" name="srdesc">${roleVo.desc}</textarea></TD>
								<TD></TD>
							</TR>
						</TABLE>
					</DIV>
				</DIV>
				<DIV ID=InputDetailBar>
					<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=10 ALIGN=center>
						<TR>
<%--							<TD><a name="BTN0379700075003O8" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.27.0.0"></a>--%>
							<TD><a name="BTN0379700075003O8" href="javascript:updateRoles();"></a>
<%--<div onclick="submitButton_update('SAVE');" class="FuncBtn"><div class=FuncBtnHead></div>--%>
		<div onclick="updateRoles();" class="FuncBtn"><div class=FuncBtnHead></div>
        <div class=FuncBtnMemo>保存</div>
        <div class=FuncBtnTail></div></div></TD>
							<TD><a name="BTN0379700075013J5" href="/OAapp/WebObjects/OAapp.woa/wo/com.oa8000.proj.oasp12.Oasp1305/PkNWvdaiJJH03acX9Lea00/10.0.11.0.29.0.0"></a>

<%--<div onclick="submitButton('RETURN');" class="FuncBtn"><div class=FuncBtnHead></div>--%>
<div onclick="javascript:window.history.go(-1)" class="FuncBtn"><div class=FuncBtnHead></div>
        <div class=FuncBtnMemo>返回</div>
        <div class=FuncBtnTail></div></div></TD>
						</TR>
					</TABLE>
				</DIV>
			</CENTER>
		</DIV>
</body>
</HTML>